import { setStore, getStore } from '@/config/mUtils'
import {
	GET_crocUser
} from './mutation-types.js'

export default {
	async getUserInfo({
		commit,
		state
	}) {
		let res = await getStore('crocUser');
		commit(GET_crocUser, JSON.parse(res))
	},
}